<template>
  <div class="chart">
    <EchartsDemo :initData="chartData" :initChart="barChart"></EchartsDemo>
  </div>
</template>

<script>

import EchartsDemo from "@/echartsDemo/index.vue";
import barChart from "@/views/twinScreen/js/barChart";

export default {
  name: 'CbhjcComponent',
  components: {EchartsDemo},
  data() {
    return {
      chartData: []
    };
  },
  mounted() {

  },
  methods: {
    barChart

  }
};
</script>

<style scoped>
.chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 300px;
}
</style>
